package edu.hunau.cxb19.oop.class19;

/**
 *
 * @author hb
 *
 *         2020-03-19 14:39:23
 */
public interface MyList<E> {

	public void add(E e);

	void add(int index, E element);

	public E set(int index, E newData);

	public E get(int index);

	public int size();

	boolean isEmpty();

	boolean contains(Object o);

	boolean remove(Object o);

	void clear();

	int indexOf(Object o);

	int lastIndexOf(Object o);

}
